﻿<div class="banner-set banner-set-mini load">
    <div class="container">
        <a class="prev" href="#"><i class="icon-arrow-left"></i></a>

        <div class="banners">
            <? if ($query_cat->num_rows() > 0) { ?>
            <? foreach ($query_cat->result() as $row) { ?>
            
            <a href="<? echo base_url(); ?>Category/viewPrdByCat/<? echo $row->CAT_ID; ?>" class="banner">
                <img src="<? echo base_url().$row->CAT_IMG; ?>" width="253" height="158" alt="">
                <h2 class="title"><? echo $row->CAT_NAME ?> (<? echo $row->prd_count ?>)</h2>
            </a>
            
            <? } ?>
            <? } ?>
        </div>
        <a class="next" href="#"><i class="icon-arrow-right"></i></a>
        <div class="clearfix"></div>
    </div>
</div>

